package com.zhangshitong.reflect;

public class Employee {

	private String name;
	
	private Integer age;
	
	private String deptName;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	@Override
	public String toString() {
		return "Employee [name=" + name + ", age=" + age + ", deptName="
				+ deptName + "]";
	}

	public Employee() {
		super();
	}

	public Employee(String name, Integer age, String deptName) {
		super();
		this.name = name;
		this.age = age;
		this.deptName = deptName;
	}
	
	
	
}
